//
//  main.swift
//  chengfa
//
//  Created by safeu on 2017/9/12.
//  Copyright © 2017年 safeu. All rights reserved.
//

import Foundation

var num = 1
var result = ""
for row in 1...9{
    var tmp = ""
    for row in 1..<num{
        tmp = tmp + "\(row)*\(num)=\(row*num)\t"
    }
    result =  tmp + "\(row)*\(num)=\(row*num)"
    print(result)
    num += 1
}
